package com.mroapp.activity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.mroapp.R;
import com.mroapp.base.BaseActivity;

/**
 * Created by apple on 16/6/30.
 */
public class BroadcastSettingActivity extends BaseActivity {
    private TextView title_bar_text;
    private ImageView btn_arrow_back;
    private RelativeLayout layout_speekspeed;
    private RelativeLayout layout_volume;
    private  RelativeLayout layout_sound;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.broadcastsetting);
        initView();


    }
    public void initView(){
        title_bar_text=(TextView)findViewById(R.id.title_bar_text);
        title_bar_text.setText("播报设置");
        btn_arrow_back=(ImageView)findViewById(R.id.btn_arrow_back);
        btn_arrow_back.setOnClickListener(this);
        layout_speekspeed=(RelativeLayout)findViewById(R.id.layout_speekspeed);
        layout_speekspeed.setOnClickListener(this);
        layout_volume=(RelativeLayout)findViewById(R.id.layout_volume);
        layout_volume.setOnClickListener(this);
        layout_sound=(RelativeLayout)findViewById(R.id.layout_sound);
        layout_sound.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()){
            case R.id.btn_arrow_back:
                BroadcastSettingActivity.this.finish();
                break;
            case R.id.layout_speekspeed:

                break;
            case R.id.layout_volume:

                break;
            case R.id.layout_sound:

                break;
        }
    }
}
